package net.controllers;


import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/uploadfileindex")
public class UploadFileIndexController {

	// Display the form on the get request
	@RequestMapping(method = RequestMethod.GET)
	public String showRegistration(ModelMap model) {
//		System.out.println("UploadFileIndexController.showRegistration GET");
		return "uploadfileindex";
	}

	// Process the form.
	@RequestMapping(method = RequestMethod.POST)
	public String processRegistration(BindingResult result) {
//		System.out.println("UploadFileIndexController.processRegistration POST");
		return "uploadfileindex";
	}
}
